package cn.wjssl.domain.credit.model.aggregate;

import cn.wjssl.domain.credit.model.entity.CreditAccountEntity;
import cn.wjssl.domain.credit.model.entity.CreditOrderEntity;
import cn.wjssl.domain.credit.model.entity.TaskEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.RandomStringUtils;

import java.math.BigDecimal;

/**
 * 交易聚合对象
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TradeAggregate {

    // 用户ID
    private String userId;
    // 积分账户实体
    private CreditAccountEntity creditAccountEntity;
    // 积分订单实体
    private CreditOrderEntity creditOrderEntity;
    // task任务实体
    private TaskEntity taskEntity;

}
